package com.weitu.train.certificate.entity;

import com.weitu.permission.user.entity.UserDepartment;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by WT-SUN on 2017/5/15.
 */
public class PersonFile implements Serializable {
    private String id;
    private String code;
    private String realName;
    private String postName;
    private Float totalHour;
    private Integer pnum;
    private String addTime;
    private String isCerId;
    private String nextReviewTime;
    private String nextChangedTime;
    private Integer isChanged;
    private Integer isReview;
    private List<UserDepartment> userDepartmentList;
    private List<Map> certificate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPostName() {
        return postName;
    }

    public void setPostName(String postName) {
        this.postName = postName;
    }

    public Float getTotalHour() {
        return totalHour;
    }

    public void setTotalHour(Float totalHour) {
        this.totalHour = totalHour;
    }

    public Integer getPnum() {
        return pnum;
    }

    public void setPnum(Integer pnum) {
        this.pnum = pnum;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getIsCerId() {
        return isCerId;
    }

    public void setIsCerId(String isCerId) {
        this.isCerId = isCerId;
    }

    public String getNextReviewTime() {
        return nextReviewTime;
    }

    public void setNextReviewTime(String nextReviewTime) {
        this.nextReviewTime = nextReviewTime;
    }

    public String getNextChangedTime() {
        return nextChangedTime;
    }

    public void setNextChangedTime(String nextChangedTime) {
        this.nextChangedTime = nextChangedTime;
    }

    public Integer getIsChanged() {
        return isChanged;
    }

    public void setIsChanged(Integer isChanged) {
        this.isChanged = isChanged;
    }

    public Integer getIsReview() {
        return isReview;
    }

    public void setIsReview(Integer isReview) {
        this.isReview = isReview;
    }

    public List<UserDepartment> getUserDepartmentList() {
        return userDepartmentList;
    }

    public void setUserDepartmentList(List<UserDepartment> userDepartmentList) {
        this.userDepartmentList = userDepartmentList;
    }

    public List<Map> getCertificate() {
        return certificate;
    }

    public void setCertificate(List<Map> certificate) {
        this.certificate = certificate;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("PersonFile{");
        sb.append("id='").append(id).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append(", realName='").append(realName).append('\'');
        sb.append(", postName='").append(postName).append('\'');
        sb.append(", totalHour=").append(totalHour);
        sb.append(", pnum=").append(pnum);
        sb.append(", addTime='").append(addTime).append('\'');
        sb.append(", isCerId='").append(isCerId).append('\'');
        sb.append(", nextReviewTime='").append(nextReviewTime).append('\'');
        sb.append(", nextChangedTime='").append(nextChangedTime).append('\'');
        sb.append(", isChanged=").append(isChanged);
        sb.append(", isReview=").append(isReview);
        sb.append('}');
        return sb.toString();
    }
}
